package com.mike.billingserver.entity;

import common.lib.core.CRUDEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author xiaozefeng
 * @date 2018-12-19 10:18
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "tb_bill_category")
@Data
public class BillCategory extends CRUDEntity {

    private static final long serialVersionUID = -8346414923271581650L;
    private String name;

    private String parentId;

    private Integer level;

}
